package com.hsgene.consumables.service;

import com.hsgene.common.util.result.ApiResult;
import com.hsgene.common.util.result.NullObject;
import com.hsgene.consumables.dto.v1.GoodsApplyOperationDto;
import com.hsgene.consumables.dto.v1.operation.GoodsApplyModifyDto;

/**
 * 耗材申领Service
 *
 * @author wangbing
 * @version 1.0, 2018/9/17
 */
public interface GoodsApplyService {

    /**
     * 耗材申领操作，根据actionCode进行操作区分
     *
     * @param groundServantId 地服id
     * @param operationInfo   耗材操作详情
     * @return 操作结果
     */
    ApiResult<NullObject> goodsApplyOperation(String groundServantId, GoodsApplyOperationDto operationInfo);

    /**
     * 修改耗材申领
     * @param goodsApplyModifyDto
     * @return
     */
    ApiResult<NullObject> updateGoodsApply(GoodsApplyModifyDto goodsApplyModifyDto);
}
